package com.saasexpert.app.kauphy.dao;


import com.saasexpert.app.kauphy.model.CatalogEntry;

import java.util.Collection;
import java.util.List;

public interface CatalogEntryDao<T extends CatalogEntry> {

    public T findById(long id) ;
    public Collection<T> findByName(String name) ;
    public T save(T entity) ;
    public void delete(T entity) ;

}
